package com.qkl.xiatang.app.entity.pond;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "pond_batch")
public class PondBatchEntity {

    private static final Integer CLEAN_POND = 1;

    @TableId(type= IdType.ASSIGN_ID)
    private String id;

    private String name;

    private String pondId;

    private Integer serialNo;

    private Integer status;

    private Integer isClean;

    private Integer shrimpQty;

    private String companyId;

    private Date createTime;

    private Date updateTime;

    public boolean alreadyClean(){
        return CLEAN_POND.equals(isClean);
    }

}
